<template>
  <div class="icon-showcase">
    <h2>聊天图标展示</h2>
    <div class="icon-grid">
      <div class="icon-item">
        <h3>AI头像</h3>
        <AiAvatarIcon />
        <p>用于AI助手的头像显示</p>
      </div>
      
      <div class="icon-item">
        <h3>发送按钮</h3>
        <SendIcon />
        <p>渐变风格的现代发送图标</p>
      </div>
      
      <div class="icon-item">
        <h3>附件图标</h3>
        <AttachmentIcon />
        <p>现代附件回形针图标</p>
      </div>
      
      <div class="icon-item">
        <h3>关闭按钮</h3>
        <CloseIcon />
        <p>优雅的渐变关闭图标</p>
      </div>
      
      <div class="icon-item">
        <h3>垃圾桶</h3>
        <TrashIcon />
        <p>时尚的删除图标</p>
      </div>
      
      <div class="icon-item">
        <h3>打字指示器</h3>
        <TypingDotsIcon />
        <p>动态的三个圆点动画</p>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { 
  AttachmentIcon, 
  CloseIcon, 
  SendIcon, 
  TrashIcon, 
  AiAvatarIcon, 
  TypingDotsIcon 
} from '@/icons/chat';
</script>

<style scoped>
.icon-showcase {
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.icon-showcase h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #333;
  font-size: 28px;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.icon-item:hover {
  transform: translateY(-5px);
}

.icon-item h3 {
  margin: 15px 0 10px 0;
  color: #667eea;
  font-size: 18px;
}

.icon-item p {
  margin: 0;
  color: #666;
  font-size: 14px;
  text-align: center;
}
</style>